package com.wxh.new_erp.sys.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.baomidou.mybatisplus.extension.toolkit.SqlHelper;
import com.wxh.new_erp.sys.domian.Dept;
import com.wxh.new_erp.sys.mapper.DeptMapper;
import com.wxh.new_erp.sys.service.DeptService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.io.Serializable;


@Service
@Transactional
public class DeptServiceImpl extends ServiceImpl<DeptMapper, Dept> implements DeptService {



   //缓存处理必、
    @Override
    public Dept getOne(Wrapper<Dept> queryWrapper) {

        return this.getOne(queryWrapper);
    }

    @Override
    public boolean update(Dept dept, Wrapper<Dept> updateWrapper) {
        return super.update(dept, updateWrapper);
    }

    @Override
    public boolean removeById(Serializable id) {
        return super.removeById(id);
    }

}